<h1>adding formula</h1>

{% if error_message %}<p><strong>{{ error_message }}</strong></p>{% endif %}

<form action="/polls/{{ poll.id }}/vote/" method="post">
{% csrf_token %}
{% for kb in kbs %}
    <input type="radio" name="knwoledgebase" id="kb{{ forloop.counter }}" value="{{ kb.id }}" />
    <label for="kb{{ forloop.counter }}">{{ kb.name }}</label><br />
{% endfor %}
<input type="text" id="formulaBody" value=""/>
<label for="formulaBody" > Default formula: </label> <br />
<input type="submit" value="addFormula" />
</form>


